import { createApp } from "vue";

import App from "./App.vue";

//引用ElementPlus
import ElementPlus from "element-plus";

//引用ElementPlus样式
import "element-plus/dist/index.css";

//引用windi样式
import "virtual:windi.css";

//引入路由
import router from "./router/router";

//创建根组件
const app = createApp(App);

//使用ElementPlus
app.use(ElementPlus);

//使用路由
app.use(router);

//挂载到index.html中的id="app"上去
app.mount("#app");
